3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to pick with window points. The location of the point is in the resolution of the current draw context.
You can use the Q3WindowPointPick_New function to create a new window-point pick object.
TQ3PickObject Q3WindowPointPick_New (
const TQ3WindowPointPickData *data);
You can use the Q3WindowPointPick_GetPoint function to get the point of a window-point pick object.
TQ3Status Q3WindowPointPick_GetPoint (
TQ3PickObject pick,
TQ3Point2D *point);
You can use the Q3WindowPointPick_SetPoint function to set the point of a window-point pick object in screen space.
TQ3Status Q3WindowPointPick_SetPoint (
TQ3PickObject pick,
const TQ3Point2D *point);
You can use the Q3WindowPointPick_GetData function to get the data associated with a window-point pick object.
TQ3Status Q3WindowPointPick_GetData (
TQ3PickObject pick,
TQ3WindowPointPickData *data);
The Q3WindowPointPick_GetData function returns, through the data parameter, information about the window-point pick object specified by the pick parameter. See "Window-Point Pick Data Structure" for a description of a window-point pick data structure.
You can use the Q3WindowPointPick_SetData function to set the data associated with a window-point pick object.
TQ3Status Q3WindowPointPick_SetData (
TQ3PickObject pick,
const TQ3WindowPointPickData *data);
Previous | QD3D Book | Overview | Chapter Contents | Next |